package com.mi.rof.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : Yang Yu you
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("work_order_table")
public class OrderTable {
    @TableId
    private Integer id;
    @TableField(value = "work_order_id")
    private Integer workOrderId;
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(value = "description")
    private String description ;
    @TableField(value = "image_url")
    private String imageUrl;
    @TableField(value = "video_url")
    private String videoUrl;
    @TableField(value = "created_at")
    private Date createdAt;
    @TableField(value = "updated_at")
    private Date updatedAt;
    @TableField(value = "engineer_id")
    private Integer engineerId;
    @TableField(value = "is_deleted")
    private Integer isDeleted;
}
